package tools

import (
	"fmt"
	"log"
	"os"

	"bufio"

	"github.com/astaxie/beego"
	"github.com/jlaffaye/ftp"
)

var (
	serverIp = "172.18.112.10"
	userName = "comm"
	passWord = "comm"
)

func downLoad() {
	con, err := ftp.Connect("172.18.112.10")
	if err != nil {
		beego.Error("Error: ", err)
		return
	}
	err := con.Login(userName, passWord)
}
